package com.mbbb.service;


import com.mbbb.pojo.TravelGroup;
import com.mbbb.vo.PageResult;

import java.util.List;

public interface TravelGroupService { //ctrl + alt + B
    void add(Integer[] travelItemIds, TravelGroup travelGroup);

    PageResult findPage(Integer currentPage, Integer pageSize, String queryString);

    TravelGroup get(Integer id);

    Integer[] getTravelItemIdByTravelGroupId(Integer id);

    void delete(Integer id) throws RuntimeException;

    void update(Integer[] travelItemIds, TravelGroup travelGroup);

    List<TravelGroup> findAll();
}
